<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<html>
<head>
</head>

<body>
<table cellspacing="1" cellpadding="3" border="0" width="100%">
    <thead>
        <tr align="center">
            <th align="left" width="57%" colspan="2">
                Message
            </th>
            <th nowrap="nowrap">Subject</th>
            <th nowrap="nowrap">Content</th>
            <th nowrap="nowrap">Sender</th>
            <th nowrap="nowrap">Createdate</th>
        </tr>
    </thead>
    <tbody>
        <tr align="center">
            <td width="1%">

            </td>
            <td align="left">
                <div>
                    <b>
                    <a href="javascript:;" style="font-size: 12px;">${message.subject}</a>
                    </b>
                </div>
            </td>
            <td>${message.content}</td>
            <td>${message.sender.username}</td>
            <td><fmt:formatDate value="${message.createdate.time}" type="both" pattern="yyyy-MM-dd HH:mm:ss"/></td>
        </tr>
    </tbody>
</table>
</body>
</html>